package com.myself.community.entity;

import lombok.Data;

import java.util.Date;

/**
 * 登录凭证
 */
@Data
public class LoginTicket {

    //主键
    private int id;

    //用户id
    private int userId;

    //凭证
    private String ticket;

    //凭证状态：0-有效; 1-无效
    private int status;

    //过期时间
    private Date expired;

}
